//
// Created by HP on 2021/2/22.
//

#ifndef CLIONTEST_SELECTIONSORT_H
#define CLIONTEST_SELECTIONSORT_H

#include <iostream>
#include <string>

using namespace std;

struct Student{
    string name;
    int score;

    bool  operator<(const Student &otherStudent){
        return score < otherStudent.score;
    }

    friend ostream&operator<<(ostream &os,const Student &student){
        os<<"Student:"<<student.name<<" "<<student.score<<endl;
        return os;
    }
};


#endif //CLIONTEST_SELECTIONSORT_H
